package miracle.joker.design.state;

public class Context {
    private State state;

    public void setState(State state) {
        this.state = state;
        state.setContext(this);
    }

    public void handle() {
        state.handle();
    }
}
